<?php
    foreach($tags as $tag) {
        $count = intval($tag['count']);
        $fontSize = min($baseFontSize + ($count / 10) - 0.1, $maxFontSize);

        echo link_to($tag['name'], 'bookmark/byTag?name='.$tag['name'],
                array('style' => "font-size: ${fontSize}em;"));

        echo ' ';
    }